import { ExtractPropTypes, PropType } from "vue";
import { IRawItemContainer } from "@ibiz/model-core";

export const rawItemProps = {
  type: {
    type: String,
    required: false,
  },
  content: {
    type: [String, Object, Number],
  },
  rawItem: {
    type: Object as PropType<IRawItemContainer>,
    required: false,
  },
};

export type RawItemProps = ExtractPropTypes<typeof rawItemProps>;
